!function(e){function t(e){return"[object Array]"===Object.prototype.toString.call(e)}function n(){for(var e=0;e>>16&65535,i=65535&e,r=t>>>16&65535,o=65535&t;return i*o+(n*o+i*r<<16>>>0)|0}),Array.prototype.find=Array.prototype.find||function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("callback must be a function");for(var t=Object(this),n=t.length>>>0,i=arguments[1],r=0;r0&&a[a.length-1])&&(6===n[0]||2===n[0])){s=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},__spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(){function e(){}function t(e,t){void 0===t&&(t=0),e=""+(e||"");for(var n=3735928559^t,i=1103547991^t,r=0,o=void 0;r>>16,2246822507)^Math.imul(i^i>>>13,3266489909),4294967296*(2097151&(i=Math.imul(i^i>>>16,2246822507)^Math.imul(n^n>>>13,3266489909)))+(n>>>0)}function n(e){var n={s:"src",h:"href"},i=e.innerText?t(e.innerText):"";return Object.keys(n).reduce(function(i,r){var o=n[r],a=e.getAttribute?e.getAttribute(o):"";return e.hasAttribute&&e.hasAttribute(o)&&""!==a?i+";"+r+":"+t(a):i},"|"+i)}function r(e,t){var n=document.createElement("div");n.innerHTML=e,n.classList.add("uw-page-structure-modal"),n.setAttribute("data-uw-feature-ignore","true"),n.id="uwPageStructureModal",t.isMobile&&n.firstChild&&n.firstChild.classList.add("uw-ps-mobile");var i=document.querySelector(".uw-s10-reading-guide");i&&i.parentElement&&i.parentElement.insertBefore(n,i)}function o(e,t,n,i){i?e.settings[t].value[i]=n:"object"==typeof e.settings[t]?e.settings[t].value=n:e.settings[t]=n;try{window.localStorage.setItem(t,n)}catch(e){console.warn("localStorage is not supported or accessible in this environment.")}}function a(){return"uw"+(~~(1e8*Math.random())).toString(16)}function s(e,t){for(var n=0;n0&&setTimeout(function(){var i=e.getBoundingClientRect();(i.top<0||i.top>=(window.innerHeight||document.documentElement.clientHeight))&&S(e,t,n-1)},t)}function A(e,t){var n=_();[document].concat(n).forEach(function(n){e.apply(n,t)})}function L(e){var t=window.location.origin;try{var n=new URL(e);if(!["http:","https:"].includes(n.protocol))return!1;return/^(https:\/\/)(?:qa\.|api\.qa\.|api\.dev\.|cdn\.dev\.|cdn\.qa\.|cdn77\.api\.qa\.|manage\.qa\.|manage\.dev\.|api\.|cdn\.|cdn77\.api\.|manage\.|)?userway\.(org|dev)(\/api\/|\/)?/.test(n.origin)||n.origin===t}catch(e){return!1}}function T(e){var t=document.createElement("a");t.href=e,t.target="_blank",t.rel="noopener noreferrer",document.body.appendChild(t),t.click(),document.body.removeChild(t)}function W(e){function t(e,t){window.URL=window.URL||window.webkitURL;var n=document.createElement("a"),i=new Blob([e]),r=window.URL.createObjectURL(i);n.href=r,n.download=t,n.click(),window.URL.revokeObjectURL(r)}if(L(e)){var n=function(e){return e.replace(/[^a-zA-Z0-9_.-]/g,"_")}(e.substring(e.lastIndexOf("/")+1));n.endsWith(".pdf")&&function(e,t,n){var i=new XMLHttpRequest;i.open("get",e,!0),n.responseType&&(i.responseType=n.responseType),i.onreadystatechange=function(){4===i.readyState&&200===i.status&&t(i)},i.send()}(e,function(e){t(e.response,n)},{responseType:"blob"})}}function O(e){var t,n=function(e){return e&&"input"===e.tagName.toLowerCase()&&e.hasAttribute("matinput")};return{materialInputLabelContainer:n(null===e||void 0===e?void 0:e.previousElementSibling)&&e,materialInputLabelContainerDescendants:n(null===(t=null===e||void 0===e?void 0:e.parentElement)||void 0===t?void 0:t.previousElementSibling)&&e.parentElement.querySelectorAll("*")}}var x=this,I="https://cdn.userway.org/",C=window.UserWayWidgetApp.addLib("util"),N="data-uw-iframe-ignore",U='[sandbox="allow-same-origin"]',k=window.UserWayWidgetApp.getLib("message-stream"),M=UserWayWidgetApp.getLib("inlineStyling");C.firedEvents={},C.LIFE_CYCLE_EVENT={INIT:"userway:init_completed",RENDER:"userway:render_completed",REMEDIATION:"userway:remediation_completed",FEATURE_ENABLED_BASE:"userway:feature_enabled_",FEATURE_DISABLED_BASE:"userway:feature_disabled_",REMEDIATION_IMAGE_ALT_FINISHED:"userway:remediation_image_alt_finished",REMEDIATION_CSR_LOADED:"userway:remediation_csr_loaded"},C.PROCESSING_EVENT={REMEDIATION_FORCE_RERUN:"userway:remediation_force_rerun"},C.DELAYS={SHORT:100,MEDIUM:500,LONG:1e3};var P=["STYLE","SCRIPT","NOSCRIPT","TEMPLATE"];C.logger=function(){return["log","error","warn","info","debug","trace"].reduce(function(e,t){var n;return __assign(__assign({},e),(n={},n[t]=function(){},n))},{})}(),C.supportsPassive=!1;try{var R=Object.defineProperty({},"passive",{get:function(){C.supportsPassive=!0}});window.addEventListener("testPassive",null,R),window.removeEventListener("testPassive",null,R)}catch(e){}C.init=e,C.isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),C.iOSMobile=/(iphone|ipod|ipad).* os /.test(navigator.userAgent.toLowerCase()),C.isChromeExtensionEnv=function(){return"object"==typeof chrome&&"object"==typeof chrome.extension},C.request=function(e){return new Promise(function(t,n){"string"!=typeof e.url&&n({});var i=new XMLHttpRequest,r="string"==typeof e.method&&-1!==["GET","HEAD","POST","PUT","DELETE","CONNECT","OPTIONS","TRACE","PATCH"].indexOf(e.method.toUpperCase())?e.method.toUpperCase():"GET";e.body&&"GET"===r&&Object.keys(e.body).forEach(function(t,n){e.url=0===n?e.url+"?"+t+"="+e.body[t]:e.url+"&"+t+"="+e.body[t]}),i.open(r,e.url),"object"==typeof e.header&&Object.keys(e.header).forEach(function(t){i.setRequestHeader(t,e.header[t])}),i.onload=function(){200===i.status?t(i):n(i)},i.onerror=function(){n(i)},i.onabort=function(){n(i)},i.send(e.body?JSON.stringify(e.body):null)})},C.customTrim=function(e){return e?e.replace(/(\n|\r\n)/g,"").replace(/\s+/g," ").replace(/\u200B/g,"").trim():""},C.customTextContent=function(e,t){void 0===t&&(t=3);var n=function(e,t){if(t<1)return"";var i=e.childElementCount,r="";return i||(r+=e.textContent),!r&&e.length&&(r+=e.nodeValue),i&&e.childNodes.length&&(r+=__spreadArray([],__read(e.childNodes),!1).map(function(e){return n(e,t-1)}).join(" ")),r};return n(e,t)},C.execJs=function(e,t){if("string"==typeof e)return new Promise(function(n,i){var r=document.createElement("script");t&&(r.crossOrigin="anonymous",r.integrity=t),(document.body||document.head).appendChild(r),r.onload=function(){n(r)},r.onerror=function(){i(r)},r.src=e})},C.xpath=function e(t,i){if(void 0===i&&(i=!1),t===document.documentElement)return"/HTML";if(t===document.body)return"/HTML/BODY";if(t===document.head)return"/HTML/HEAD";for(var r=0,o=t.parentNode?t.parentNode.childNodes:[],a=t,s=0;a&&a.tagName;)a=a.parentNode,s++;for(var l=0;l0},C.getParents=function(e){return"BODY"===e.nodeName?[e]:arguments.callee(e.parentElement).concat(e)},C.isFirstAboveSecond=function(e,t,n){if(null==n&&(n=0),e[n]===t[n])return null!=e[i]&&arguments.callee(e,t,n+1);var r=e[n]?indow.getComputedStyle(e[n]).zIndex:"auto",o=t[n]?window.getComputedStyle(t[n]).zIndex:"auto";return r===o?arguments.callee(e,t,n+1):("auto"===r?-.5:+r)>("auto"===o?-.5:+o)};C.getUserWayIconElementTitle=function(e){return(0,window.UserWayWidgetApp.getLib("localization_manager").translate)(e.language,"widget.html_title")||"Accessibility Menu"};C.getUserWayLstIconElementTitle=function(e){return(0,window.UserWayWidgetApp.getLib("localization_manager").translate)(e.language,"widget.html_lst_title")||"Translations Menu"},C.getModalCompanyLogoSource=function(e){var t=e.cdn+"widgetapp/images/logo.svg",n=function(e){return"https://userway.org?utm_source="+e+"&utm_medium=page_structure&utm_campaign=widget"}(e.tunings.site_name);return e.services&&e.services.CUSTOM_BRANDING&&e.services.CUSTOM_BRANDING.custom_logo_image_path?(t=e.services.CUSTOM_BRANDING.custom_logo_image_path,n=e.services.CUSTOM_BRANDING.custom_logo_image_link):e.services&&e.services.WHITE_LABEL&&e.services.WHITE_LABEL.hide_logo&&(t="",n=""),{src:t,url:n}},C.hexToRgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map(function(e){return e+e}).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},C.fireForceRemediationRerunEvent=function(){C.fireUserWayLifeCycleEvent(C.PROCESSING_EVENT.REMEDIATION_FORCE_RERUN)},C.fireUserWayRemediationCompletedEvent=function(e){C.fireUserWayLifeCycleEvent(C.LIFE_CYCLE_EVENT.REMEDIATION,e)},C.fireUserWayLifeCycleEvent=function(e,t){void 0===t&&(t=null),C.firedEvents[e]=t;var n={userWayInstance:window.UserWay};t&&(n=C.mergeObjects([n,t]));try{var i,r=C.detectBrowser();"ie"===r?(i=document.createEvent("CustomEvent"),i.initCustomEvent(e,!0,!0,n)):i=new CustomEvent(e,{detail:n}),document.dispatchEvent(i)}catch(e){}},C.isElementVisible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.isInView=function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=document.body.getBoundingClientRect().bottom&&t.right<=document.body.getBoundingClientRect().right},C.isPartOfElementInViewport=function(e){for(var t=e.offsetTop,n=e.offsetLeft,i=e.offsetWidth,r=e.offsetHeight;e.offsetParent;)e=e.offsetParent,t+=e.offsetTop,n+=e.offsetLeft;return twindow.pageYOffset&&n+i>window.pageXOffset},C.containsInnerText=function(e){return!!e.innerText},C.validateElementAccessibility=function(e){return C.isElementVisible(e)&&C.containsInnerText(e)},C.addScreenRearedElement=function(e,t,n){void 0===n&&(n="");var i=document.createElement("span");return i.textContent=t,i.style="color: #ffffff!important;background: #000000!important;clip: rect(1px, 1px, 1px, 1px)!important;clip-path: inset(50%)!important;height: 1px!important;width: 1px!important;margin: -1px!important;overflow: hidden!important;padding: 0!important;position: absolute!important;",i.setAttribute("class",n),i.setAttribute("data-uw-rm-ignore",""),e.appendChild(i),i},C.getViewport=function(){return{vw:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),vh:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}},C.getDiffPercentage=function(e,t){return Math.abs(e-t)/((e+t)/2)*100},C.getStyles=function(e){return e?window.getComputedStyle(e):{}},C.isTransparentElement=function(e,t){var n=t||C.getStyles(e),i=n.background,r=n.opacity;return/(^(rgb\())|(^(:?rgba).*(:?255\))$)/.test(i)||"1"!==r},C.isNotDefaultCssFlow=function(e,t){var n=(t||C.getStyles(e)).position;return"absolute"===n||"fixed"===n},C.isOverlayElement=function(e,t){var n=C.getViewport(),i=n.vw,r=n.vh,o=e.offsetWidth,a=e.offsetHeight,s=C.getDiffPercentage(i,o),l=C.getDiffPercentage(r,a);if(s>25&&l>25){return[].slice.call(e.getElementsByTagName("*")).forEach(function(e){e.matches(t.join(","))||e.setAttribute("data-uw-feature-ignore","true")}),!0}return!1},C.ignoreMaterialUI=function(e){var t=O(e),n=t.materialInputLabelContainer,i=t.materialInputLabelContainerDescendants;return!(!n&&!i)&&(n&&n.setAttribute("data-uw-feature-ignore","true"),!0)},C.filterTransparentPositionedElements=function(e,t){if(void 0===t&&(t=[]),C.ignoreMaterialUI(e))return!0;var n=e.matches(t.join(",")),i=window.getComputedStyle(e),r="fixed"===i.position,o=C.isNotDefaultCssFlow(e,i)&&!C.isTransparentElement(e,i)&&!n;return o&&(r?e.setAttribute("data-uw-feature-ignore","true"):o=C.isOverlayElement(e,t)),!o},C.getHtmlElement=function(){if("function"!=typeof this.getElementsByTagName)return null;var e=this.getElementsByTagName("html");return e&&e.length&&e[0]?e[0]:null},C.filterIgnoredElems=function(e){return!e.hasAttribute("data-uw-feature-ignore")},C.isOpenShadowRoot=function(e){if(e)return!!e.shadowRoot},C.getShadowRootParent=function(e){var t=e.getRootNode();return t instanceof ShadowRoot?t:null},C.removeFeatureStyles=function(e){var t=e.element,n=e.activeCssClass,i=e.key,r=e.inlineStyles;t.classList.remove(n),M.resetInlineStyles(t,i,r)},C.getShadowRootChildren=function(e,t){return void 0===t&&(t="*"),e.shadowRoot.querySelectorAll(t)},Math.imul||(Math.imul=function(e,t){t|=0;var n=(4194303&e)*t;return 4290772992&e&&(n+=(4290772992&e)*t|0),0|n}),C.execForDocumentAndIframes=A,C.asyncExecForDocumentAndIframes=function(e,t){return __awaiter(x,void 0,void 0,function(){var n,i,r;return __generator(this,function(o){switch(o.label){case 0:return n=_(),i=__spreadArray([document],__read(n),!1),r=i.map(function(n){return e.apply(n,t)}),[4,Promise.all(r)];case 1:return o.sent(),[2]}})})},C.isValidUrl=L,C.openUrl=T,C.downloadPdfFile=W,C.hasParentWithAttribute=function(e,t){var n,i,r=document.querySelectorAll("["+t+"]");try{for(var o=__values(r),a=o.next();!a.done;a=o.next()){var s=a.value;if(s===e||s.contains(e))return!0}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return!1},C.focusHostDocument=function(){if(C.isSafari){var e=document.createElement("input");e.type="text",e.style.opacity="0",e.style.height="0px",e.style.width="0px",e.style.padding="0px",e.style.border="none",e.style.outline="none",e.style.pointerEvents="none",document.body.appendChild(e),e.focus({preventScroll:!0}),e.remove()}},C.debounce=function(e,t,n){var i=null,r=null;return function(){for(var o=this,a=[],s=0;s0&&(t(e),i.disconnect())})}).observe(e)},C.findAllElements=function(e){var t=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hatch","hatchpath","hkern","image","line","linearGradient","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","solidcolor","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","unknown","use","view","vkern"];try{var n=t.reduce(function(e,t,n){return e+(n?",":"")+"svg "+t},"");return null===e||void 0===e?void 0:e.querySelectorAll("*|*:not("+n+")")}catch(e){return C.logger.error(e),[]}},C.setItemWithExpiry=function(e,t,n){var i=new Date,r={value:t,expiry:i.getTime()+n};localStorage.setItem(e,JSON.stringify(r))},C.getItemWithExpiry=function(e){var t=C.getProperty(e,!0);return(null===t||void 0===t?void 0:t.expiry)?(new Date).getTime()>t.expiry?(localStorage.removeItem(e),null):t.value:t},C.isValidSelector=function(e){try{return document.body.querySelector(e),!0}catch(e){return!1}},C.querySelectorDeep=function(e){if(!e)return[];var t=[],n=function(i){var r,o;try{for(var a=__values(i),s=a.next();!s.done;s=a.next()){var l=s.value;l.matches(e)&&t.push(l),l.shadowRoot&&n(l.shadowRoot.querySelectorAll('*:not(script, style, link, meta, title, noscript, template, [hidden], [aria-hidden="true"])'))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}};return n(document.querySelectorAll("*")),t},C.querySelectorDeepSingle=function(e){if(!e)return null;var t=function(n){var i,r;try{for(var o=__values(n),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.matches(e))return s;if(s.shadowRoot){var l=t(s.shadowRoot.querySelectorAll('*:not(script, style, link, meta, title, noscript, template, [hidden], [aria-hidden="true"])'));if(l)return l}}}catch(e){i={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}};return t(document.querySelectorAll("*"))},C.applyInBatches=function(e,t){for(var n=[],i=2;i0&&a[a.length-1])&&(6===n[0]||2===n[0])){s=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},__read=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},__spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(){var e,t=window.UserWayWidgetApp.addLib("features_utils"),n=window.UserWayWidgetApp.getLib("util"),i=window.UserWayWidgetApp.getLib("constants"),r=i.cdn,o=i.HIDE_WIDGET_KEY,a=i.UW_TUNINGS_DEFAULT,s=i.POSITION_LOCAL_KEY;t.generateUserId=function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(e){return(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)})},t.blockedWidget=function(e){var t;return!!(null===(t=null===e||void 0===e?void 0:e.tunings)||void 0===t?void 0:t.widget_blocked_for_site)},t.hiddenWidget=function(e){return!(null===e||void 0===e||!e.tunings)&&(!0===e.tunings.widget_hidden_for_site||!0===e.tunings.widget_hidden_for_mobile&&n.isMobile())},t.getWidgetLayout=function(e,t){var n,i=Boolean(null===(n=e.services)||void 0===n?void 0:n.paidAi),r=t.widget_layout||e.tunings.widget_layout;return"headless"!==r||i?r:"full"},t.isFullWidgetLayout=function(e,n){var i=t.getWidgetLayout(e,n);return!i||["full","headless"].includes(i)},t.setWidgetButtonZIndex=function(e){var t=e["z-index"];if(void 0!==t){if(t=parseInt(t,10),isNaN(t))return void n.logger.error("Embedded z-index is invalid");var i=document.createElement("style");i.innerHTML=".uwy.uwy-level{z-index:"+t+";}",document.head.appendChild(i)}},t.isHiddenWidget=function(){var e=n.getItemWithExpiry(o),t=sessionStorage.getItem(o);return e||t},t.isSoundEffectsEnabled=function(e){var t;return null===(t=null===e||void 0===e?void 0:e.tunings)||void 0===t?void 0:t.widget_sounds},t.enableWindowsBelowDialogForScreenReaders=function(){document.querySelectorAll("*[data-uw-inert]").forEach(function(e){e.removeAttribute("inert"),e.removeAttribute("data-uw-inert")})},t.disableWindowsBelowDialogForScreenReaders=function(){document.querySelectorAll("body > *:not([inert]):not(script):not(link):not(style):not(meta):not(.uwy)").forEach(function(e){e.setAttribute("inert",""),e.setAttribute("data-uw-inert","")})},t.sendEventToGoogleAnalytics=function(e,t,n){var i;void 0===n&&(n=""),e.services.paidAi&&(null===(i=null===e||void 0===e?void 0:e.tunings)||void 0===i?void 0:i.widget_ga_enabled)&&"function"==typeof gtag&>ag("event","UserWay",{name:t,state:n})},t.sendConfigToWidgetApp=function(e){n.postMessage({action:"sendConfig",data:{config:e}})},t.drawLstButtonSpinner=function(e){var t,n,i=""+(null===(t=e.tunings)||void 0===t?void 0:t.widget_lst_button_icon_type);if((null===(n=e.tunings)||void 0===n?void 0:n.widget_lst_button_enabled)&&"flag"===i){var r=document.querySelector(".ulsti");null===r||void 0===r||r.classList.add("userway_loading")}},t.setImageSrc=function(e,t,n){e.setAttribute("src",t+"widgetapp/images/"+n)},t.preloader=function(e){var t,n;void 0===e&&(e="toggle");var i=[document.querySelector(".uai"),document.querySelector(".ulsti")];try{for(var r=__values(i),o=r.next();!o.done;o=r.next()){var a=o.value;switch(e){case"show":null===a||void 0===a||a.classList.add("userway_loading");break;case"hide":null===a||void 0===a||a.classList.remove("userway_loading");break;case"toggle":default:null===a||void 0===a||a.classList.toggle("userway_loading")}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},t.updateAttributes=function(e){var t,i,r,o=document.querySelector(".uai"),a=document.querySelector(".ulsti"),s=document.querySelector(".uwif"),l=(null===(t=e.services)||void 0===t?void 0:t.CUSTOM_BRANDING)||(null===(i=e.services)||void 0===i?void 0:i.WHITE_LABEL)||(null===(r=e.tunings)||void 0===r?void 0:r.widget_no_logo);null===o||void 0===o||o.setAttribute("title",n.getUserWayIconElementTitle(e)),null===o||void 0===o||o.setAttribute("aria-label",n.getUserWayIconElementTitle(e)),null===a||void 0===a||a.setAttribute("title",n.getUserWayLstIconElementTitle(e)),null===a||void 0===a||a.setAttribute("aria-label",n.getUserWayLstIconElementTitle(e)),s.setAttribute("title",l?n.getUserWayIconElementTitle(e):"UserWay "+n.getUserWayIconElementTitle(e))},t.getWidgetColorNullable=function(e){var t={color:a.UW_WIDGET_COLOR,gradient:null,isLight:!1},i=e.color||e.tunings.widget_color;if(i){var r=n.hexToRgb(i.replace("#",""));t.isLight=n.colourIsLight(r[0],r[1],r[2]),t.color=i}(e.color||e.tunings.widget_color_gradient&&e.tunings.widget_color_gradient===a.UW_WIDGET_COLOR_GRADIENT)&&(e.tunings.widget_color_gradient=null);var o=e.color_gradient||e.tunings.widget_color_gradient;return o&&(t.gradient=o),t},t.getWidgetMenuPosition=function(e,t){var i=n.getProperty(s);if(i)return e.userSpecificPosition=i,i;var r=e.tunings.widget_position;return n.isMobile()&&e.tunings.widget_position_mobile&&(r=e.tunings.widget_position_mobile),"shortpoint"===e.services.partner?e.position||r||"3":t.position||e.position||r||a.UW_BUTTON_POSITION},t.getWidgetIconSize=function(e,t){return t.size||e.size||e.tunings.widget_icon_size||a.UW_WIDGET_ICON_SIZE},t.getWidgetIconSize=function(e,t){return t.size||e.size||e.tunings.widget_icon_size||a.UW_WIDGET_ICON_SIZE},t.setPageStructureModalColor=function(e){var i=t.getWidgetColorNullable(e);if(i){var r=document.querySelector(".uw-popup-header"),o=document.querySelector(".uw-popup-header-text"),a=r.querySelector(".uw-popup-header-close-path"),s=i.gradient||i.color,l=i.isLight?"#000000":"#ffffff";r&&(n.applyElementStyles(r,{background:s,color:l}),n.applyElementStyles(o,{color:l})),a&&n.applyElementStyles(a,{stroke:l})}},t.setWidgetColor=function(e,i){var r,o,s=[document.querySelector(".uai"),document.querySelector(".ulsti")],l=t.getWidgetColorNullable(e),u=l.gradient||l.color;try{for(var c=__values(s),d=c.next();!d.done;d=c.next()){var g=d.value;if(u){if(g){var f=u;if("ie"===n.detectBrowser()){"4"===""+(i.type||e.tunings.widget_icon_type||a.UW_WIDGET_ICON_TYPE)&&(f+=";min-width:auto!important;max-width:none!important;min-height:auto!important;max-height:none;!important")}null===g||void 0===g||g.style.setProperty("background",f,"important"),l.isLight?(g.classList.add("uli"),g.classList.remove("userway_dark")):(g.classList.remove("uli"),g.classList.add("userway_dark"))}var p=document.querySelector(".userway_hide_on");p&&(null===p||void 0===p||p.style.setProperty("background",l.color,"important"));var v=document.querySelector(".userway_hide_off");v&&(null===v||void 0===v||v.style.setProperty("background",l.color,"important"));var y=document.querySelector(".uhi span");y&&(null===y||void 0===y||y.style.setProperty("background",l.color,"important"))}else null===g||void 0===g||g.classList.add("userway_dark")}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}n.postMessage({action:"setWidgetColour",payload:l||null})},t.enableScreenReader=function(e){e.reader.enabled=!0,n.postMessage({action:"screen_reader_available"})},t.enrichRemediationConfig=function(e){if(e){var t=["alt","ariaEditor","autocomplete","brokenLinks","commonSettings","contrast","customFocus","emptyControls","externalLinks","form","headings","identicalTargets","labs","language","metaViewport","moderator","navigationMenu","pdf","perSiteRemediation","popups","skipLinks","slickSlider","vagueLinks","title"],n=__assign({},e);return t.forEach(function(e){n[e]||(n[e]={enabled:!0,config:{}})}),n}},t.enableDebugMode=function(){n.execJs(r+"widgetapp/2026-03-20-13-54-16/performance/performance_1774014856108.js").then(function(){var t=UserWayWidgetApp.getLib("performance_logger");e=t.getInstance("Features")})},t.onCustomTriggerClick=function(){window.UserWay.widgetToggle()},t.onCustomTriggerKeypress=function(e){"Enter"!==(null===e||void 0===e?void 0:e.key)&&" "!==(null===e||void 0===e?void 0:e.key)||(e.preventDefault(),window.UserWay.widgetToggle())},t.assignCustomTriggerListeners=function(e){e.getAttribute("data-uw-trigger")||(e.addEventListener("click",t.onCustomTriggerClick),e.addEventListener("keyup",t.onCustomTriggerKeypress),e.setAttribute("data-uw-trigger",""),e.setAttribute("data-uw-ignore-s25",""),e.setAttribute("aria-haspopup","dialog"))},t.removeCustomTriggerResolvers=function(e){document.body.removeEventListener("click",e),document.body.removeEventListener("keyup",e)},t.fireUserWayRenderedEvent=function(){n.fireUserWayLifeCycleEvent(n.LIFE_CYCLE_EVENT.RENDER)},t.isWhiteLabeled=function(e){var t,n,i,r;return(null===(t=e.services.WHITE_LABEL)||void 0===t?void 0:t.hide_logo)||(null===(n=e.tunings)||void 0===n?void 0:n.widget_no_logo)||(null===(i=e.services.CUSTOM_BRANDING)||void 0===i?void 0:i.custom_logo_image_link)||(null===(r=e.services.CUSTOM_BRANDING)||void 0===r?void 0:r.custom_logo_image_path)},t.trackTimeStart=function(t,n){e&&e.time(t+" "+n)},t.trackTimeEnd=function(t,n){e&&e.timeEnd(t+" "+n)},t.fireUserWayFeatureStateEvent=function(e,t,i){void 0===i&&(i=null);var r=i?{state:i}:null;n.fireUserWayLifeCycleEvent(e+t,r)},t.checkAndToggleCheckIcon=function(e){var t=document.querySelector(".uwy"),n=Object.keys(e.settings).some(function(t){var n;return(null===(n=e.settings[t])||void 0===n?void 0:n.value)&&"userway-positionWidget"!==t}),i=n?"add":"remove";t.classList[i]("uen")},t.getName=function(e){return e.split("-")[1]}}();var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){e.done?n(e.value):r(e.value).then(a,s)}l((i=i.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function n(e){return function(t){return i([e,t])}}function i(n){if(r)throw new TypeError("Generator is already executing.");for(;l&&(l=0,n[0]&&(s=0)),s;)try{if(r=1,o&&(a=2&n[0]?o.return:n[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,n[1])).done)return a;switch(o=0,a&&(n=[2&n[0],a.value]),n[0]){case 0:case 1:a=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,o=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(a=s.trys,!(a=a.length>0&&a[a.length-1])&&(6===n[0]||2===n[0])){s=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},__spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(){var e=[],t={next:function(t){var n,i;try{for(var r=__values(e),o=r.next();!o.done;o=r.next()){(0,o.value)(t)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}},subscribe:function(t){return e.push(t),function(){e=e.filter(function(e){return e!==t})}},unsubscribe:function(t){e=e.filter(function(e){return e!==t})},unsubscribeAll:function(){e=[]}};window.messageStream=t;var n=UserWayWidgetApp.addLib("message-stream");Object.assign(n,t)}();var __read=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},__spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r=t?">":" ")},"").slice(0,-1)}function n(e,n){void 0===n&&(n=4);var r,o=e.length-c-n,a=e[e.length-1],s=a.params;if(o<0){r=t(e,0,!0);var l=i(r,s,a);return l||(r=t(e,0),i(r,s,a))}var u;!function(e){e[e.Strict=0]="Strict",e[e.Medium=1]="Medium",e[e.Loose=2]="Loose"}(u||(u={}));for(var d=[u.Strict,u.Medium,u.Loose],g=0;g=0;o--){r=l===u.Loose?t((d=e.slice(0,2)).concat.apply(d,__spreadArray([],__read(e.slice(-o-n)),!1)),e.length-n):t(e,e.length-n-o-1,l===u.Strict);var g=i(r,s,a);if(g)return g}}(d[g]);if(f)return f}return null}function i(e,t,n){var i=o(e);if(1===i.length){if(null==n.params)return i[0];if(r(i[0],t))return i[0]}if(i.length>1){if(null==n.params)return null;var a=i.filter(function(e){return r(e,t)});if(1===a.length)return a[0]}return null}function r(e,t){if(null==t)return!0;var n=e.innerText?l.hashString(e.innerText).toString():"";if(t.innerText.toString()!==n)return!1;var i=e.hasAttribute("href")?l.hashString(e.getAttribute("href")).toString():"";if(t.href&&t.href!==i)return!1;var r=e.hasAttribute("src")?l.hashString(e.getAttribute("src")).toString():"";return!t.src||t.src===r}function o(e){try{return Array.prototype.slice.call(document.querySelectorAll(e))}catch(e){return[]}}function a(t){var i=d(t);return n(e(i.xpath,i.params))}var s=window.UserWayWidgetApp.addLib("xpath_search"),l=window.UserWayWidgetApp.getLib("util"),u={i:"innerText",s:"src",h:"href"},c=2;s.recursiveXpathSearch=a;var d=function(e){var t=__read(e.split("|"),2),n=t[0],i=t[1],r={innerText:""};if(i){var o=__read(i.split(";")),a=o[0],s=o.slice(1);r.innerText=a,s.forEach(function(e){var t=__read(e.split(":"),2),n=t[0],i=t[1];r[u[n]]=i})}return{xpath:n,params:r}};s.getByXpath=function(e){var t=d(e),n=t.xpath,i=t.params,o=document.evaluate(n,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;return r(o,i)?o:null}}();var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&n.height>0)return!1;if(o(t))return!1;for(var l="fixed"===s.position||"absolute"===s.position||"left"===s.float||"right"===s.float||"visible"!==s.overflowX||"visible"!==s.overflowY,u=0;u0||o instanceof HTMLElement&&(o.offsetWidth>0||o.offsetHeight>0)))};if(r.skipCheckingAncestors)return u(n);for(var c=!0,d=n;d&&d!==document.body&&c;)c=u(d),d=d.parentNode;return c}var n=window.UserWayWidgetApp.addLib("is_element_visible"),i=function(e,t,n){return void 0===n&&(n={}),t||(t=window.getComputedStyle(e)),n=__assign({skipStyleProperty:[]},n),[{property:"display",hiddenValues:["none"]},{property:"visibility",hiddenValues:["hidden","collapse"]},{property:"opacity",hiddenValues:["0"]},{property:"filter",hiddenValues:["opacity(0)"]}].some(function(e){var i,r=e.property,o=e.hiddenValues;if(!t||!(r in t)||(null===(i=n.skipStyleProperty)||void 0===i?void 0:i.includes(r)))return!1;var a=t[r];return"string"==typeof a&&o.includes(a)})},r=function(e){return e?e.replace(/\s|\u200B| |​|​|​/g,""):""},o=function(e){var t=e.textContent;if(!t)return!1;var n=r(t) ;return!!((null===n||void 0===n?void 0:n.length)&&(null===e||void 0===e?void 0:e.parentNode))},a='script, style, template, link, noscript, meta, iframe, base, area, br, col, colgroup, param, source, track, wbr, hr, path, circle, rect, ellipse, line, polygon, polyline, g,[hidden], input[type="hidden"]',s=function(e,t,n){if(!(e instanceof Element))return!1;t||(t=e.getBoundingClientRect());var i=0,r=0,o="fixed"===window.getComputedStyle(e).position,a=n||o;a?(i=window.innerHeight||document.documentElement.clientHeight,r=window.innerWidth||document.documentElement.clientWidth):(i=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight),r=Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth));var s=a?0:window.scrollY,l=a?0:window.scrollX,u=t.top+s,c=t.bottom+s,d=t.left+l,g=t.right+l;return c<1||u>i||g<1||d>r};n.isElementVisible=t}(),function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){var t,n,i=this._getEvents();if(e instanceof RegExp){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t}function i(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n}function r(e){return"function"==typeof e||e instanceof RegExp||!(!e||"object"!=typeof e)&&r(e.listener)}function o(e,n){if(!r(n))throw new TypeError("listener must be a function");var i,o=this.getListenersAsObject(e),a="object"==typeof n;for(i in o)o.hasOwnProperty(i)&&-1===t(o[i],n)&&o[i].push(a?n:{listener:n,once:!1});return this}function a(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&-1!==(i=t(o[r],n))&&o[r].splice(i,1);return this}function s(e,t){var n=this,i=this.getListenersAsObject(e);for(var r in i)if(i.hasOwnProperty(r))for(var o=i[r].slice(0),a=this,s=0;s=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(){var e=window.UserWayWidgetApp.addLib("dom_observer_v2"),t=window.UserWayWidgetApp.getLib("event_emitter"),n=UserWayWidgetApp.getLib("util");e.DOM_OBSERVER_DOM_CHANGED_EVENT="UW_EVT1";var i=new Set,r=new Set,o=new Set(["SCRIPT","STYLE","LINK","NOSCRIPT"]),a=function(e){return e&&e.nodeType===Node.ELEMENT_NODE&&!o.has(e.tagName)&&!e.hasAttribute("data-uw-rm-ignore")},s=function(){i.clear(),r.clear()},l=function(i,r){var o,a;try{var l=[];try{for(var u=__values(i),c=u.next();!c.done;c=u.next()){var d=c.value;d.isConnected&&l.push(d)}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}t.emitEvent(e.DOM_OBSERVER_DOM_CHANGED_EVENT,[window.UserWayWidgetApp.ContextHolder.config,l,Array.from(r)])}catch(e){n.logger.warn("DOM observer error ",e)}finally{s()}},u=n.debounce(l,500,2e3),c=function(e){for(var t=!1,n=0;n0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},__spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},CONTROLS_WITH_TEXT_TAGS=["textarea","select"],INPUT_TYPES_WITH_TEXT_CONTENT=["text","password","submit","reset","button","date","datetime-local","email","file","month","number","search","tel","time","url","week"],isInputElementWithText=function(e){var t;if(e.nodeType!==Node.ELEMENT_NODE)return!1;var n=e.tagName.toLowerCase();if(CONTROLS_WITH_TEXT_TAGS.includes(n))return!0;if("input"===n){var i=(null!==(t=e.getAttribute("type"))&&void 0!==t?t:"").toLowerCase();if(INPUT_TYPES_WITH_TEXT_CONTENT.includes(i)||!i)return!0}return!1},isDirectParentOfText=function(e){return Array.from(e.childNodes).some(function(e){return e.nodeType===Node.TEXT_NODE&&""!==e.textContent.trim()})};!function(){function e(e,t,n){u(t,n)&&(a=!0)}function t(e){var t,n,i,o,a=r.instantiateTreeWalker({root:e.body,nodeFilter:NodeFilter.SHOW_ELEMENT}),s=r.getIframes(),l=s.filter(function(e){return e.body&&e.body.nodeType===Node.ELEMENT_NODE}).map(function(e){return r.instantiateTreeWalker({root:e.body,context:e,nodeFilter:NodeFilter.SHOW_ELEMENT})}),u=new Set,c=new Set,d=function(e){for(var t=[],n=e.nextNode();n;){var i=n;r.hasTextContent(i)&&isDirectParentOfText(i)&&(u.add(i),i.childNodes.forEach(function(e){n.nodeType===Node.TEXT_NODE&&c.add(e)})),isInputElementWithText(i)&&u.add(i),r.isOpenShadowRoot(n)&&t.push(r.instantiateTreeWalker({root:i.shadowRoot,nodeFilter:NodeFilter.SHOW_ELEMENT})),n=e.nextNode()}return{shadowWalkers:t}},g=[];try{for(var f=__values(__spreadArray([a],__read(l),!1)),p=f.next();!p.done;p=f.next()){var v=p.value,y=d(v);g=g.concat(y.shadowWalkers)}}catch(e){t={error:e}}finally{try{p&&!p.done&&(n=f.return)&&n.call(f)}finally{if(t)throw t.error}}var m=UserWayWidgetApp.ContextHolder.config.services.userId;if(365323===m||320802===m||386702===m)for(;g.length;){var h=[];try{for(var w=(i=void 0,__values(g)),_=w.next();!_.done;_=w.next()){var b=_.value,y=d(b);h=h.concat(y.shadowWalkers)}}catch(e){i={error:e}}finally{try{_&&!_.done&&(o=w.return)&&o.call(w)}finally{if(i)throw i.error}}g=h}return{textNodes:__spreadArray([],__read(c),!1),elementsWithText:__spreadArray([],__read(u),!1)}}var n=UserWayWidgetApp.getLib("event_emitter"),i=UserWayWidgetApp.getLib("dom_observer_v2"),r=UserWayWidgetApp.getLib("util"),o=i.DOM_OBSERVER_DOM_CHANGED_EVENT,a=!0,s={textNodes:[],elementsWithText:[]},l=UserWayWidgetApp.addLib("helpers.elements_with_text");l.init=function(){n.on(o,e)},l.getElementsWithText=function(e,n){if(void 0===n&&(n=!0),n&&s.elementsWithText)return s.elementsWithText;if(!a)return s.elementsWithText;var i=t(e),r=i.textNodes,o=i.elementsWithText;return a=!1,s={textNodes:r,elementsWithText:o},o},l.getTextNodes=function(e,n){if(void 0===n&&(n=!0),n&&s.textNodes)return s.textNodes;if(!a)return s.textNodes;var i=t(e),r=i.textNodes,o=i.elementsWithText;return a=!1,s={textNodes:r,elementsWithText:o},r};var u=function(e,t){return!(!e.length&&!t.length)&&(!!e.some(function(e){return e.children.length||e.textContent})||t.some(function(e){return e.children.length||e.textContent}))}}(),function(){var e=UserWayWidgetApp.getLib("helpers.elements_with_text"),t=UserWayWidgetApp.addLib("helpers");t.initialized=!1,t.init=function(){t.initialized||(e.init(),t.ElementsWithText={getElementsWithText:e.getElementsWithText,getTextNodes:e.getTextNodes},t.initialized=!0)}}(),function(){function e(e){var t,n;return(null===(t=e._userway_config)||void 0===t?void 0:t.trigger)||(null===(n=e.tunings)||void 0===n?void 0:n.widget_custom_trigger)||null}function t(e){return e.startsWith(".")?e:"#"+e}var n=window.UserWayWidgetApp.addLib("custom-trigger");n.getCustomTriggerElements=function(){var n,i,r=window.UserWayWidgetApp.ContextHolder.config,o=window.UserWayWidgetApp.getLib("util");if(!r||!Object.keys(r.tunings).length)return null;var a=e(r),s=null===(n=r.tunings)||void 0===n?void 0:n.widget_custom_trigger_enabled;if(!a||!(null===(i=r._userway_config)||void 0===i?void 0:i.trigger)&&!s)return null;var l=t(a);try{return o.querySelectorDeep(l)}catch(e){return console.error(e),[]}},n.bindCustomWidgetTrigger=function(){var i,r=window.UserWayWidgetApp.ContextHolder.config,o=window.UserWayWidgetApp.getLib("constants"),a=window.UserWayWidgetApp.getLib("features_utils");if((null===(i=r._userway_config)||void 0===i?void 0:i.trigger)||r.tunings.widget_custom_trigger_enabled){window.UserWay.iconVisibilityOff();var s=n.getCustomTriggerElements();if(null===s||void 0===s?void 0:s.length)return void s.forEach(a.assignCustomTriggerListeners);if(!r.tunings.isDynamicCustomTrigger)return void window.UserWay.iconVisibilityOn();var l=e(r),u=t(l),c=l.startsWith("."),d=function(e){var t=e.target.closest(u);if(t){var i=c?n.getCustomTriggerElements():[t];(null===i||void 0===i?void 0:i.length)&&(i.forEach(a.assignCustomTriggerListeners),a.removeCustomTriggerResolvers(d),clearTimeout(g),window.UserWay.widgetToggle())}};document.body.addEventListener("click",d),document.body.addEventListener("keyup",d);var g=setTimeout(function(){var e=n.getCustomTriggerElements();(null===e||void 0===e?void 0:e.length)?e.forEach(a.assignCustomTriggerListeners):window.UserWay.iconVisibilityOn(),a.removeCustomTriggerResolvers(d)},o.CUSTOM_TRIGGER_AWAIT_PERIOD)}}}();var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&a[a.length-1])&&(6===n[0]||2===n[0])){s=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]0)return t=n[e],"break"}(i))break}if(t){for(var o=t.attributes,i=o.length;i--;){var a=o[i],s=0===a.name.indexOf("data")?a.name.replace(/(^data-)/i,""):a.name;s&&e.indexOf(s)>-1&&("type"!==s||["1","2","3","4"].indexOf(a.value)>-1)&&(window._userway_config[s]=a.value)}if(!window._userway_config.account)for(var l=t.src,u=l.split("?").pop().split("&"),c=0;c-1&&d[1]&&(window._userway_config[d[0]]=d[1])}}}}}var t="UserWayWidgetApp",n=window[t].addLib("context_setter"),i=window[t].getLib("util"),r="a11yWidgetSrc";n.initializeConfig=function(){function n(){var e={};return[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,21,23,24,25,101,102,103,104,105,106,107,108].forEach(function(t){e["userway-s"+t]={value:0,disabled:!1}}),e}function r(){var e={_userway_config:_userway_config,browser:i.detectBrowser(),isMobile:i.isMobile(),isLH:i.isLightHouse(),href:i.getHref(),account:_userway_config.account||_userway_config.code,origin:window.location.origin,iconType:"1",language:"en-US",languageHardcoded:null,reader:{enabled:!0,language:null,voice_locale:null},async:!1,settings:n(),tunings:{},partner:null,cdn:"https://cdn.userway.org/",uid:""};return window[t].ContextHolder.config=e,e}return new Promise(function(t,n){e(),"undefined"!=typeof _userway_config&&_userway_config?t(r()):setTimeout(function(){e(),t(r())},2e3)})}}();var __values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(){function e(t,n){var i,r;try{for(var o=__values(Object.keys(n)),a=o.next();!a.done;a=o.next()){var s=a.value;t.hasOwnProperty(s)&&"object"==typeof n[s]?e(t[s],n[s]):t[s]=n[s]}}catch(e){i={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return t}window.UserWayWidgetApp.addLib("context_setter_on_prem").buildOnPremConfig=function(){var t={tunings:{widget_icon_type:"1",widget_icon_size:"large",widget_sounds:!0,widget_position:"1",widget_position_mobile:"1",widget_color:"#2d68ff",widget_language:"",widget_live_language_enabled:!0,widget_custom_trigger_enabled:!1,widget_move_hidden:!1,site_name:"",accessibility_url:"",accessibility_link_text:"",accessibility_link_enabled:"",widget_no_report:!0,widget_no_manage:!0,widget_no_logo:!0},services:{siteId:1,userId:1,paidAi:!0,partner:"undefined"},remediationV2:{strategy:"AUTO",consolidated:null,perSiteRemediation:{enabled:!1,resources:null},alt:{enabled:!1,config:{}},vagueLinks:{enabled:!0,config:{}},headings:{enabled:!0,config:{}},forms:{enabled:!0,config:{}},moderator:{enabled:!1,config:{}},externalLinks:{enabled:!0,config:{}},brokenLinks:{enabled:!1,config:{}},identicalTargets:{enabled:!0,config:{}},customFocus:{enabled:!1,config:{}},ariaEditor:{enabled:!1,config:{}},contrast:{enabled:!0,config:{path:null,autofix:!1}},emptyControls:{enabled:!0,config:{}},language:{enabled:!0,config:{}},pdf:{enabled:!1,config:{}},skipLinks:{enabled:!0,config:{anchorSelector:null}},navigationMenu:{enabled:!0,config:{}},popups:{enabled:!0,config:{}},metaViewport:{enabled:!0,config:{}},commonSettings:{enabled:!0,config:{mobile:{enabled:!0},disabledPages:[]}},labs:{enabled:!0,config:{}},slickSlider:{enabled:!0,config:{}},title:{enabled:!1,config:{}}},speechSynthesisEnabled:"undefined"!=typeof speechSynthesis};try{return"undefined"!=typeof _uw_pr_config&&_uw_pr_config?e(t,_uw_pr_config):t}catch(e){return console.error(e),t}}}(),function(){function e(e){var t=o.get(e);return t||(t=new s(e),o.set(e,t)),t}function t(t,n,i){try{var o=e(t);o.applyStyles(i,n),o.element.setAttribute("data-"+n+"-styled",!0)}catch(e){r.error(e," - applyInlineStyles error - Element: "+t)}}function n(t,n,i){try{var o=e(t);o.resetStyles(i,n),o.element.removeAttribute("data-"+n+"-styled")}catch(e){r.error(e," - resetInlineStyles error - Element: "+t)}}var i=window.UserWayWidgetApp.addLib("inlineStyling"),r=window.UserWayWidgetApp.getLib("components_utils").logger;i.featureStyles={highlinks:{inlineStyles:{"text-decoration":"underline",color:"#ffff00","background-color":"#000000"},inlineImgStyles:{"box-sizing":"border-box",border:"1px solid #ffff00"},svgStyle:{"background-color":"#000000",fill:"#ffff00"}},contrast:{dark:{key:"userway-s3-2",forATag:{"background-color":"#000000","border-color":"#ffffff",color:"#fcff3c",svg:{"background-color":"#000000",fill:"#fcff3c"}},normal:{"background-color":"#000000","border-color":"#ffffff",color:"#50d0a0"},svgImg:{"background-color":"#000000",fill:"#ffffff"}},light:{key:"userway-s3-3",forATag:{"background-color":"#ffffff","border-color":"#000000",color:"#0000D3",svg:{"background-color":"#ffffff",fill:"#0000D3"}},normal:{"background-color":"#ffffff","border-color":"#000000",color:"#000000"},svgImg:{"background-color":"#ffffff",fill:"#000000"}}}};var o=new WeakMap,a={"userway-s6":["userway-s3-2","userway-s3-3","uw-sr","data-uw-rm-color-contrast"],"userway-s3-2":["userway-s6","uw-sr","data-uw-rm-color-contrast"],"userway-s3-3":["userway-s6","uw-sr","data-uw-rm-color-contrast"],"uw-sr":["userway-s3-2","userway-s3-3","userway-s6","data-uw-rm-color-contrast"],"data-uw-rm-color-contrast":["userway-s6","userway-s3-2","userway-s3-3","uw-sr"]},s=function(){function e(e){this.element=e,this.initialStyles=this.parseStylesToObject(e),this.listOfApplyiedStylesKeys=[],this.appliedStyles={},this.appliedStylesByFeature={},this.transition=window.getComputedStyle(this.element).getPropertyValue("transition")}return e.prototype.parseStylesToObject=function(e){for(var t,n=e.style,i={},r=0;r=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(){function e(){var e=p.config,i=n();i.filter(function(e){return e}),y=i[1],(!v||p.config.services.MODIFY_MENU&&-1===p.config.services.MODIFY_MENU.features_pattern.split("|").indexOf("s11"))&&(i=i.filter(function(e){return e.id!==W.openNavMenu}));var r=t();r.setAttribute("aria-label",S(e.language,"skip_links.title")||"Quick Accessibility Options"),i.forEach(function(e,t){var n=document.createElement("button");n.className="uw-sl__item",n.setAttribute("data-uw-rm-ignore","true"),n.setAttribute("data-uw-ignore-translate","true"),n.setAttribute("lang",e.language),n.id=e.id;var i=document.createElement("span");i.className="uw-sl__item__left",i.setAttribute("data-uw-ignore-translate","true");var a=document.createElement("span");a.className="uw-sl__item__img",a.innerHTML=e.img,i.appendChild(a);var s=document.createElement("span");s.className="uw-sl__item__title",s.setAttribute("data-uw-ignore-s17",""),s.setAttribute("data-uw-rm-ignore","true"),s.setAttribute("data-uw-ignore-translate","true");var l=c()&&e.altTitle?e.altTitle:e.title;s.innerHTML=l,i.appendChild(s),n.appendChild(i);var u=document.createElement("span");u.className="uw-sl__e-icon",u.innerHTML='',n.appendChild(u),n.addEventListener("click",function(t){e.handler();var i=c()&&e.altTitle?e.altTitle:e.title;e.altTitle&&(s.innerHTML=i),n.blur()}),n.addEventListener("keydown",function(e){"Escape"!==e.code&&27!==e.keyCode&&27!==e.which||(n.blur(),o())}),e.focusHandler&&n.addEventListener("focus",e.focusHandler),r.appendChild(n)})}function t(){var e=document.querySelector('div.uw-sl[role="region"]');if(!e){e=document.createElement("div"),e.className="uw-sl",e.setAttribute("role","region"),e.setAttribute("data-uw-rm-ignore","true"),e.setAttribute("data-uw-ignore-translate","true"),e.addEventListener("focus",r,!0);var t=document.getElementById("gatsby-focus-wrapper");if(t){var n=function(n){var r,o;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;if("childList"===l.type){Array.from(l.removedNodes).find(function(t){return t==e})&&(t.insertBefore(e,t.firstChild),i.disconnect())}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},i=new MutationObserver(n);i.observe(t,{attributes:!1,childList:!0,subtree:!0}),t.insertBefore(e,t.firstChild)}else{var o=document.body;o.insertBefore(e,o.firstChild)}}return e.innerHTML="",e}function n(){var e=p.config,t={title:S(e.language,"skip_links.title")||"Quick Accessibility Options",skip:S(e.language,"skip_links.skip")||"Skip to main content",enable_visually_impaired:S(e.language,"skip_links.enable_visually_impaired")||"Enable accessibility for low vision",disable_visually_impaired:S(e.language,"skip_links.disable_visually_impaired")||"Disable accessibility for low vision",open_accessibility_menu:S(e.language,"skip_links.open_accessibility_menu")||"Open the accessibility menu"};return[{id:W.skipToMain,language:e.language,title:t.skip,img:'',handler:a},{id:W.visibility,language:e.language,title:t.enable_visually_impaired,altTitle:t.disable_visually_impaired,img:'',handler:d,focusHandler:function(){p.preloadIframe()}},{id:W.openWidget,language:e.language,title:t.open_accessibility_menu,img:'',handler:i}]} function i(){p.openWidget(),f(T.OPEN_WIDGET),o()}function r(e){x||(f(T.OPEN_LINKS),x=!0),"uw-enable-visibility"===e.target.id&&g(),setTimeout(function(){if(O)return o()},1)}function o(){var e=document.querySelector("body");e.hasAttribute("tabindex")||(e.setAttribute("tabindex","-1"),setTimeout(function(){e.removeAttribute("tabindex")},0)),e.focus({preventScroll:!0})}function a(){var e=l()||document.querySelector(w);e.getAttribute("tabindex")||e.setAttribute("tabindex","-1"),f(T.SKIP_TO_MAIN_CONTENT),setTimeout(function(){e.focus(),b.scrollToElementWithOffset(e,70)},300)}function s(e){for(var t=e,n=null;t&&"BODY"!==t.tagName&&(!(n=t.nextElementSibling)||!b.validateElementAccessibility(n));)t=t.parentElement;return n}function l(){for(var e,t=0;t<=_.length-1;t++){var n=document.querySelector(_[t]);if(n&&(('[role="main"]'!==_[t]||"BODY"!==n.tagName)&&b.isElementVisible(n))){e='[role="navigation"]'===_[t]||"nav"===_[t]?s(n):n;break}}return e||u()}function u(){return A.ElementsWithText.getElementsWithText(document).find(function(e){if((-1!==e.classList.value.search(/main/)||-1!==e.classList.value.search(/title/)||-1!==e.classList.value.search(/header/))&&b.validateElementAccessibility(e)&&e.hasAttribute("data-uw-rm-ignore"))return e})}function c(){return p.getAvailableBunchOfFeatures().every(function(e){return p.config.settings["userway-"+e].value})}function d(){if(c()){if(p.isSoundEffectsEnabled())try{var e=new Audio(p.config.cdn+"widgetapp/sounds/reset.mp3");e.play()}catch(e){}b.postMessage({action:"updateVisuallyImpairedState",config:!1})}else{if(p.isSoundEffectsEnabled())try{var e=new Audio(p.config.cdn+"widgetapp/sounds/viEnabled.mp3");e.play()}catch(e){}b.postMessage({action:"updateVisuallyImpairedState",config:!0}),setTimeout(function(){document.querySelector(".uai").focus();var e=document.querySelectorAll(".uw-sl__item")[1];e.focus(),e.blur()},10)}f(T.VISUALLY_IMPAIRED)}function g(){var e=document.querySelector("#uw-enable-visibility .uw-sl__item__title[data-uw-rm-ignore]"),t=document.querySelector("#uw-enable-visibility.uw-sl__item"),i=n()[1];t&&e&&i.altTitle&&(e.innerHTML=c()?i.altTitle:i.title)}function f(e){var t={account:p.config.account,feat:"s22",siteId:p.config.services.siteId,state:e,uid:p.config.uid,type:p.config.services.paidAi?"paid":"free",widgetType:p.config.widgetLayout||p.config.tunings.widget_layout,real:!0},n=atob("eExxdFhtQVRSdw=="),i=UserWayWidgetApp.ContextHolder.config.account;p.config.onPrem||n!==i&&b.request({method:"POST",url:L+"/v1/stats/enabled-feature",body:t,header:{"Content-Type":"application/json"}}).then(function(e){},function(e){console.warn("Statistics error")})}var p,v,y,m=UserWayWidgetApp.addLib("skip_links"),h="#uw_skip_to_main_content_anchor",w="#userwayAccessibilityIcon",_=["main","h1","nav",'[role="navigation"]','[role="main"]',"h2","h3","h4","h5","h6"],b=UserWayWidgetApp.getLib("util"),E=UserWayWidgetApp.getLib("localization_manager"),S=E.translate,A=UserWayWidgetApp.getLib("helpers"),L="https://api.userway.org/api",T={OPEN_LINKS:1,SKIP_TO_MAIN_CONTENT:2,VISUALLY_IMPAIRED:3,OPEN_WIDGET:4,PAGE_STRUCTURE:5},W={skipToMain:"uw-skip-to-main",visibility:"uw-enable-visibility",openWidget:"uw-open-accessibility",openNavMenu:"uw-open-nav-menu"},O=!1,x=!1;m.insert=function(){var t,n;p=UserWayWidgetApp.addLib("main"),v=p.config.services&&p.config.services.paidAi;var i=UserWayWidgetApp.getLib("remediationConfig")?UserWayWidgetApp.getLib("remediationConfig").skipLinks:null;(null===i||void 0===i?void 0:i.enabled)&&((null===(t=null===i||void 0===i?void 0:i.config)||void 0===t?void 0:t.anchorSelector)&&(h=null===(n=null===i||void 0===i?void 0:i.config)||void 0===n?void 0:n.anchorSelector),_.unshift(h),e(),document.addEventListener("click",function(){O=!0,setTimeout(function(){O=!1},300)}))},m.updateLinks=function(){b.isMobile()||setTimeout(function(){return e()},500)}}();var StatusType;!function(e){e.MISSING="CONTRIB_MISSING",e.PRESENT="CONTRIB_PRESENT"}(StatusType||(StatusType={})),function(){var e="UserWayWidgetApp",t=window[e].addLib("scan_manager"),n=window[e].getLib("components_utils").getSiteNameLocation,i=window[e].getLib("util"),r="https://cdn.userway.org/",o="widgetapp/2026-03-20-13-54-16/scan/scan_1774014856108.js";t.run=function(){var r=window[e].ContextHolder.config;r.onPrem||setTimeout(function(){var o,a;if(!r.services||81434!==r.services.userId){var s=r.tunings&&!!r.tunings.widget_scan_url_params;if(!(location.href&&(location.href.indexOf("?")>-1||location.href.indexOf("&")>-1))||s){var l=r.remediation?"WIDGET_ON":"WIDGET_OFF";if("fetch"in window&&!r.invalidAccountId){window[e].ContextHolder.config.scanPage=!0;var u=!!(null===(o=null===r||void 0===r?void 0:r._userway_config)||void 0===o?void 0:o.platfAppInstalledSiteId),c=null===(a=null===r||void 0===r?void 0:r.tunings)||void 0===a?void 0:a.site_name,d=n(u?c:null);fetch("https://api.userway.org/api/a11y-data/v0/page/"+encodeURIComponent(d)+"/"+(i.isMobile()?"MOBILE":"DESKTOP")+"/"+l+"/status").then(function(e){try{e.json().then(function(e){var n;e.payload&&(null===(n=e.payload)||void 0===n?void 0:n.status)===StatusType.MISSING&&t.loadAndExecScan()})}catch(e){}})}}}},5e3)},t.accessibilityScore=function(){return new Promise(function(t,n){var a,s,l,u="v2"==(null===(l=null===(s=null===(a=window[e].ContextHolder)||void 0===a?void 0:a.config)||void 0===s?void 0:s.tunings)||void 0===l?void 0:l.ruleBaseVersion);window[e].ContextHolder.config.scanPage=!1;var c=window[e].getLib("scan_helper");u?i.execJs(r+"scanner/2026-03-20-13-54-16/scanner.js","sha256-rOLZ2sHV6wv6rGZFtOY0TPijFnaCIxZW9BH/E04jRYU=").then(function(e){t(e)}):(null===c||void 0===c?void 0:c.scan)?c.scan().then(function(e){t(e)}):i.execJs(r+o,"sha256-8eV43qG6H9iwkX5V0PMD5JNgWgZBFKPPZZWXHQPsHCI=").then(function(){var n=window[e].getLib("scan_helper");null===n||void 0===n||n.scan().then(function(e){t(e)})})})},t.loadAndExecScan=function(){var t,n,a;"v2"==(null===(a=null===(n=null===(t=window[e].ContextHolder)||void 0===t?void 0:t.config)||void 0===n?void 0:n.tunings)||void 0===a?void 0:a.ruleBaseVersion)?i.execJs(r+"scanner/2026-03-20-13-54-16/scanner.js","sha256-rOLZ2sHV6wv6rGZFtOY0TPijFnaCIxZW9BH/E04jRYU="):i.execJs(r+o,"sha256-8eV43qG6H9iwkX5V0PMD5JNgWgZBFKPPZZWXHQPsHCI=").then(function(){window[e].getLib("scan_helper").scan()})}}();var FuncKeys;!function(e){e.altKey="altKey",e.ctrlKey="ctrlKey",e.shiftKey="shiftKey"}(FuncKeys||(FuncKeys={}));var DEFAULT_OPEN_HOTKEY=[FuncKeys.ctrlKey,"KeyU"];!function(){var e=UserWayWidgetApp.addLib("WIDGET_HOTKEYS"),t=UserWayWidgetApp.getLib("main"),n=function(){var e,n,i=JSON.parse((null===(n=null===(e=t.config)||void 0===e?void 0:e.tunings)||void 0===n?void 0:n.widget_open_hotkey)||"null");return i&&(i=i.filter(Boolean)),(null===i||void 0===i?void 0:i.length)>=2?i:DEFAULT_OPEN_HOTKEY};e.isHotkeyToOpenWidget=function(e){return n().every(function(t){return e.code===t||e[t]})}}(),function(){function e(e,n){if(n.length){if(n[0]&&n[0].id&&"string"==typeof n[0].id&&n[0].id.indexOf("powered_by_pixle")>-1)return;t()}}function t(){try{var e=[];r.forEach(function(t){switch(t.type){case"QUERY_SELECTOR":t.data.forEach(function(t){document.querySelector(t.s)&&e.push(t.id)})}}),e.length&&i(e)}catch(e){}}function n(){try{setTimeout(function(){r.forEach(function(e){switch(e.type){case"FUNCTION":e.data.forEach(function(e){var t=Function(e.s)();if(t&&t.length){var n={method:"POST",url:u+"/v1/helper/ss/hashed",header:{"Content-Type":"application/json"},body:{names:t,site:location.host}};l.request(n)}})}})},5e3)}catch(e){}}function i(e){var t={host:location.host,pathname:location.pathname};e.forEach(function(e){l.request({method:"POST",url:u+"/remediation/common-patterns/collector/"+e,header:{"Content-Type":"application/json"},body:t})})}var r,o=UserWayWidgetApp.addLib("cpr_usage_detector"),a=UserWayWidgetApp.getLib("event_emitter"),s=UserWayWidgetApp.getLib("dom_observer_v2"),l=UserWayWidgetApp.getLib("util"),u="https://api.userway.org/api";o.run=function(){var i,o;(r=null===(o=null===(i=UserWayWidgetApp.ContextHolder)||void 0===i?void 0:i.config)||void 0===o?void 0:o.cpr)&&(n(),t(),a.on(s.DOM_OBSERVER_DOM_CHANGED_EVENT,e))}}(),function(){function e(e,n,i,r){void 0===r&&(r="");var o=(e+(r?"-"+r:"")).toLowerCase(),a=function(a){a.some(function(t){var i=t.lang,a=t.name,s=i.toLowerCase(),l=a.includes(n),u=r?s===o:s.startsWith(e.toLowerCase());return l&&u})&&t(e,n,i,r)},s=function(){var e=window.speechSynthesis.getVoices();e.length&&a(e)};try{window.speechSynthesis.addEventListener("voiceschanged",s),s()}catch(e){c.logger.error("Error checking system voices:",e)}}function t(e,t,n,i){d.push({ttsVoiceName:t,ttsLangIsoCode:e,ttsLocaleIsoCode:i,fallback:n,toLocaleStr:function(){return e+i?"-"+i:""}})}function n(e){if(e)return!!o(e,!1);var t=document.getElementsByTagName("html")[0];return!!o((null===t||void 0===t?void 0:t.getAttribute("lang"))||(null===t||void 0===t?void 0:t.getAttribute("xml:lang")))}function i(){var e=document.getElementsByTagName("html")[0],t=(null===e||void 0===e?void 0:e.getAttribute("lang"))||(null===e||void 0===e?void 0:e.getAttribute("xml:lang")),n=o(t);n&&c.execForDocumentAndIframes(function(){var e=this.getElementsByTagName("html")[0];!((null===e||void 0===e?void 0:e.getAttribute("lang"))||(null===e||void 0===e?void 0:e.getAttribute("xml:lang")))&&(null===e||void 0===e||e.setAttribute("lang",n.toLocaleStr()))})}function r(e){var t,n=Array.from(e.ownerDocument.querySelectorAll("*[lang]")),i=s("en");try{if(1===n.length&&"HTML"===n[0].tagName){return o(null===(t=n[0])||void 0===t?void 0:t.getAttribute("lang"),!1)||i}for(var r=e,a=null;r&&!(a=o(r&&"function"==typeof r.getAttribute?r.getAttribute("lang"):null,!1))&&"HTML"!==r.tagName;)r=r.parentElement;return a||i}catch(e){return console.warn(e),i}}function o(e,t){if(void 0===t&&(t=!0),!e)return null;var n=c.formatLangCode(e);n.toLowerCase().includes("zh")&&n.toLowerCase().includes("hans")&&(n="zh"),n.includes("zh-")&&(n="zh-Hant");var i=n.slice(0,2),r=n.slice(2),s=a(i,r);if(!s&&t){var l=document.querySelector("html");return o((null===l||void 0===l?void 0:l.getAttribute("lang"))||(null===l||void 0===l?void 0:l.getAttribute("xml:lang"))||null,!1)}return s}function a(e,t){var n=d.find(function(n){return n.ttsLangIsoCode===e&&n.ttsLocaleIsoCode===t.replace("-","")});return(null!==n&&void 0!==n?n:s(e))||null}function s(e){return d.find(function(t){return t.ttsLangIsoCode===e&&t.fallback})}var l="UserWayWidgetApp",u=window[l].addLib("tts-language-resolver"),c=window[l].getLib("util"),d=[];u.getLocaleForText=o,u.getLocaleForElement=r,u.isAvailableWithPreferedLanguage=n,u.enrichDomWithPreferableLanguage=i,t("en","US English Female",!1,""),t("en","US English Female",!1,""),t("en","US English Female",!0,"US"),t("en","Australian Female",!1,"AU"),t("en","UK English Female",!1,"GB"),t("ru","Russian Female",!0,""),t("ar","Arabic Female",!0,""),t("cs","Czech Female",!0,""),t("el","Greek Female",!0,""),t("es","Spanish Female",!0,""),t("fr","French Female",!0,""),t("fr","French Canadian Female",!0,"CA"),t("hi","Hindi Female",!0,""),t("it","Italian Female",!0,""),t("ja","Japanese Male",!0,""),t("ko","Korean Female",!0,""),t("nl","Dutch Female",!0,""),t("pl","Polish Female",!0,""),t("pt","Portuguese Female",!0,""),t("pt","Brazilian Portuguese Female",!1,"BR"),t("ro","Romanian Female",!0,""),t("sv","Swedish Female",!0,""),t("tr","Turkish Female",!0,""),t("uk","Ukrainian Female",!0,""),t("ua","Ukrainian Female",!0,""),t("zh","Chinese Female",!0,""),t("zh","Chinese (Hong Kong) Male",!0,"Hant"),t("in","Indonesian Female",!0,""),t("id","Indonesian Female",!0,""),t("no","Norwegian Female",!0,""),t("nb","Norwegian Female",!0,"NO"),t("sk","Slovak Female",!0,""),t("ta","Tamil Male",!0,""),t("th","Thai Female",!0,""),t("sq","Albanian Male",!0,""),t("ca","Catalan Male",!0,""),t("hr","Croatian Male",!0,""),t("da","Danish Female",!0,""),t("fi","Finnish Female",!0,""),t("hu","Hungarian Female",!0,""),t("is","Icelandic Male",!0,""),t("lv","Latvian Male",!0,""),t("mk","Macedonian Male",!0,""),t("sr","Serbian Male",!0,""),t("vi","Vietnamese Male",!0,""),t("de","Deutsch Female",!0,""),t("mg","Montenegrin Male",!0,""),t("fo","Faroese custom",!0,""),t("ta","Tamil Male",!0,""),e("he","Carmit",!0,""),e("he","Microsoft Asaf - Hebrew (Israel)",!0,"")}(),function(){function e(e){var t=void 0===e?{pageLanguage:"",widgetLanguage:""}:e,n=t.pageLanguage,r=t.widgetLanguage;return i.isAvailableWithPreferedLanguage(n)&&i.isAvailableWithPreferedLanguage(r)}var t="UserWayWidgetApp",n=window[t].addLib("tts-reader-status"),i=window[t].getLib("tts-language-resolver");n.isAvailable=e}();var userwaySupportedLanguages=["en-US","az","ar","bn","bg","zh","zh-Hant","hr","cs","nl","en-AU","en","en-GB","et","fi","fo","fr","fr-CA","ka","de","el","he","hi","hu","it","id","ja","ko","lt","lv","mgo","no","fa","pl","pt-BR","pt","pa","ro","ru","sk","sl","sr","sr-Latn","es","es-MX","sv","tr","uk","cy","vi","da","ceb","haw","tl","th","sm","ca","ht","ilo","ps","prs","eu","hmn","hy","ta"],userwayMapToSupportedLanguages={in:"id",ua:"uk",nb:"no","zh-TW":"zh-Hant",en:"en-US"},userwaySupportedLocales=["en-US","en-AU","en-GB","pt-BR","es-MX","zh-Hant","sr-Latn","fr-CA"],USERWAY_DEFAULT_FALLBACK_LANGUAGE="en-US",getUserwaySupportedLanguage=function(e){return userwayMapToSupportedLanguages[e]?userwayMapToSupportedLanguages[e]:(e.indexOf("-")>-1&&(e=e.substring(0,e.indexOf("-"))),userwaySupportedLanguages.includes(e)?e:null)},SITE_LANGUAGE_FROM_SCRIPT="site-language",userwaySupports=function(e){return userwaySupportedLanguages.includes(e)},formatLangCode=function(e){return/([-_,])/.test(e)?e.replace(/(^\w+)([-_,])(\w+$)/,function(e,t,n,i){return t.toLowerCase()+"-"+i.toUpperCase()}):e.toLowerCase()};!function(){var e=UserWayWidgetApp.getLib("util"),t=function(){try{var t=e.getProperty("userway-selectedLang",!1);return userwaySupports(t)?t:null}catch(e){return console.warn("Unable to resolve persisted in the local storage language",e),null}},n=function(e){try{if(void 0!==UserWayWidgetApp.ContextHolder.config._userway_config){var t=e;if(t){if(userwaySupports(t))return t;var n=getUserwaySupportedLanguage(t);return n||null}}}catch(e){console.warn("Unable to resolve language set as hardcoded config in the UserWay embed script",e)}return null},i=function(){var e;return n(null===(e=UserWayWidgetApp.ContextHolder.config._userway_config)||void 0===e?void 0:e.language)},r=function(){var e,t,i,r=UserWayWidgetApp.ContextHolder.config;return(null===(t=null===(e=null===r||void 0===r?void 0:r.services)||void 0===e?void 0:e.LIVE_TRANSLATIONS)||void 0===t?void 0:t.is_enabled)?n(null===(i=r._userway_config)||void 0===i?void 0:i[SITE_LANGUAGE_FROM_SCRIPT]):null},o=function(){try{var e=document.getElementsByTagName("html")[0],t=e.getAttribute("lang")||e.getAttribute("xml:lang");if(!t)return null;if(t.toLowerCase().includes("zh")&&t.toLowerCase().includes("hans"))return"zh";if(t.includes("zh-"))return"zh-Hant";if(t.includes("sr-"))return"sr-Latn";var n=formatLangCode(t);return userwaySupportedLocales.includes(n)||(n=n.split("-")[0]),userwayMapToSupportedLanguages[n]&&(n=userwayMapToSupportedLanguages[n]),userwaySupports(n)?n:null}catch(e){return console.warn("Unable to parse page html lang attribute",e),null}},a=function(e){return void 0===e&&(e={ownerLangSelection:""}),t()||i()||e.ownerLangSelection||o()||USERWAY_DEFAULT_FALLBACK_LANGUAGE},s=function(e){void 0===e&&(e={ownerLangSelection:""});var n=t();return!!n&&n===(i()||e.ownerLangSelection||o()||USERWAY_DEFAULT_FALLBACK_LANGUAGE)},l=UserWayWidgetApp.addLib("widget_language_resolver");Object.assign(l,{resolve:a,resolveUserLangSelection:t,resolveOwnerLangHardcoded:i,resolvePageLangAttribute:o,resolveLanguageOnScript:r,userLandSelectionIsDefaultLangSelected:s})}();var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=e.successMatches}})}({flag:"b1",successMatches:2,test:function(e){return[r.isTab,r.isArrowLeft,r.isArrowRight].some(function(t){return t(e)})}}),e);n.start=function(){a()||l()||document.addEventListener("keydown",s)},n.stop=function(){document.removeEventListener("keydown",s)};var a=function(){var e=atob("eExxdFhtQVRSdw=="),t=UserWayWidgetApp.ContextHolder.config.account,n=UserWayWidgetApp.ContextHolder.config.services.siteId;return e===t||!n},s=function(e){var i=o[t.KeyboardUser];i.test(e)&&(i.addMatch(),i.isFullyMatched()&&(n.stop(),c(i.flag).then(u).catch(n.start)))},l=function(){try{var e=localStorage.getItem("recognizedUserBehavior");return!!JSON.parse(e)}catch(e){return!1}},u=function(){localStorage.setItem("recognizedUserBehavior",JSON.stringify(!0))},c=function(e){var t=UserWayWidgetApp.ContextHolder.config,n=t.account,r=t.uid,o=t.widgetLayout,a=t.tunings,s=t.services,l=s.siteId,u=s.paidAi;return i.request({method:"POST",url:"https://api.userway.org/api/v1/stats/enabled-feature",header:{"Content-Type":"application/json"},body:{account:n,siteId:l,uid:r,type:u?"paid":"free",widgetType:o||a.widget_layout,feat:e,real:!0}})}}(),function(){var e=UserWayWidgetApp.addLib("REMEDIATION_BUNDLE_CONFIG"),t=UserWayWidgetApp.getLib("util"),n="https://cdn.userway.org/",i=function(e,i){UserWayWidgetApp.ContextHolder.remediationModulePromise.then(function(){t.execJs(n+e,i)})};e.configureRemediation=function(){var e,r,o=UserWayWidgetApp.ContextHolder.config,a=o.remediation,s=o.tunings;a||t.fireUserWayRemediationCompletedEvent({enabled:!1});var l=null===(e=null===a||void 0===a?void 0:a.commonSettings)||void 0===e?void 0:e.enabled,u=!l&&(null===(r=null===o||void 0===o?void 0:o.services)||void 0===r?void 0:r.paidAi);UserWayWidgetApp.ContextHolder.remediationModulePromise=t.execJs(n+"widgetapp/2026-03-20-13-54-16/remediation/remediation_1774014856108.js","sha256-Sks/h8V1kbeU1Cht25oaKy6cBNudzQSfAIyQnqcxwBw="),UserWayWidgetApp.addLib("remediationConfig",a),UserWayWidgetApp.ContextHolder.remediationResources=null,(l||u)&&(UserWayWidgetApp.ContextHolder.config.services.editorBuildUrl=n+"aria_editor/2026-03-20-13-54-16/index.html?v=1774014856108",l?i("remediation/2026-03-20-13-54-16/paid/remediation-tool.js?ts=1774014856108","sha256-H9lngrTsUOsryZrYDjUMlCEgL7KdwIIoBvPxdx5F2hY="):u?i("remediation/2026-03-20-13-54-16/contrast/remediation-tool-contrast.js?ts=1774014856108","sha256-PD8NVW1m9bx2H7r+5JmKvNVCtasoEW0oiLfdr8EqV2U="):s.widget_free_remediation_disable||i("remediation/2026-03-20-13-54-16/free/remediation-tool-free.js?ts=1774014856108","sha256-hpi8PXm3ge8GEOWYHr0XGjJYTDVtOvp6axBfg+KFPYA="),(null===a||void 0===a?void 0:a.consolidated)&&t.request({method:"GET",url:a.consolidated}).then(function(e){e&&e.response&&(UserWayWidgetApp.ContextHolder.remediationResources=JSON.parse(e.response))},function(e){console.warn("Can't load remediation resources.")}))}}();var __rest=this&&this.__rest||function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},__values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},__spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r